.class public Lcom/xingbook/baike/activity/BaikeDetailActivity;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private A:Landroid/view/View;

.field private B:I

.field private C:Landroid/widget/RelativeLayout;

.field private D:Lcom/xingbook/baike/d/a;

.field private E:Lcom/xingbook/ui/z;

.field private F:I

.field private G:Ljava/lang/String;

.field private H:Landroid/widget/ImageView;

.field private I:Landroid/widget/ImageView;

.field private J:Landroid/widget/ImageView;

.field private K:Lcom/xingbook/baike/activity/w;

.field a:I

.field b:I

.field c:Lcom/xingbook/group/helper/XbResOutlinkReceiver;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private l:Landroid/widget/ImageView;

.field private m:Landroid/widget/ImageView;

.field private n:Landroid/widget/LinearLayout;

.field private o:Landroid/widget/LinearLayout;

.field private p:Landroid/widget/LinearLayout;

.field private q:Landroid/graphics/drawable/Drawable;

.field private r:Landroid/graphics/drawable/Drawable;

.field private s:Z

.field private t:Lcom/xingbook/baike/b/a;

.field private u:Ljava/lang/String;

.field private v:Landroid/view/View;

.field private w:Landroid/widget/TextView;

.field private x:Lcom/xingbook/ui/ae;

.field private y:Landroid/app/ProgressDialog;

.field private z:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    iput-boolean v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->s:Z

    iput v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    new-instance v0, Lcom/xingbook/baike/activity/w;

    invoke-direct {v0, p0}, Lcom/xingbook/baike/activity/w;-><init>(Lcom/xingbook/baike/activity/BaikeDetailActivity;)V

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->K:Lcom/xingbook/baike/activity/w;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Lcom/xingbook/ui/ae;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->x:Lcom/xingbook/ui/ae;

    return-object v0
.end method

.method private declared-synchronized a(I)V
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->s:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v0, :cond_0

    :goto_0
    monitor-exit p0

    return-void

    :cond_0
    const/4 v0, 0x1

    :try_start_1
    iput-boolean v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->s:Z

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->K:Lcom/xingbook/baike/activity/w;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/baike/activity/w;->sendEmptyMessage(I)Z

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/baike/activity/t;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/baike/activity/t;-><init>(Lcom/xingbook/baike/activity/BaikeDetailActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method static synthetic a(Lcom/xingbook/baike/activity/BaikeDetailActivity;Lcom/xingbook/baike/b/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/baike/activity/BaikeDetailActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/baike/activity/BaikeDetailActivity;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->s:Z

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->v:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->w:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p2}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    return-void
.end method

.method private a(Z)V
    .locals 2

    const-string v0, "\u8bf7\u7a0d\u7b49\u00b7\u00b7\u00b7"

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a(Ljava/lang/String;Z)V

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/baike/activity/u;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/baike/activity/u;-><init>(Lcom/xingbook/baike/activity/BaikeDetailActivity;Z)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method private b(II)Landroid/graphics/drawable/Drawable;
    .locals 12

    const/16 v1, 0x15

    const/4 v11, 0x1

    const/4 v10, 0x0

    if-ne p1, p2, :cond_1

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f020021

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->openRawResource(I)Ljava/io/InputStream;

    move-result-object v2

    invoke-static {v2}, Landroid/graphics/BitmapFactory;->decodeStream(Ljava/io/InputStream;)Landroid/graphics/Bitmap;

    move-result-object v2

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    sget-object v5, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-static {v3, v4, v5}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v5

    new-instance v6, Landroid/graphics/Canvas;

    invoke-direct {v6, v5}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    new-instance v7, Landroid/graphics/Paint;

    invoke-direct {v7}, Landroid/graphics/Paint;-><init>()V

    invoke-virtual {v7, v11}, Landroid/graphics/Paint;->setDither(Z)V

    invoke-virtual {v7, v11}, Landroid/graphics/Paint;->setFilterBitmap(Z)V

    new-instance v8, Landroid/graphics/Rect;

    invoke-direct {v8, v10, v10, v3, v4}, Landroid/graphics/Rect;-><init>(IIII)V

    new-instance v9, Landroid/graphics/Rect;

    invoke-direct {v9, v10, v10, v3, v4}, Landroid/graphics/Rect;-><init>(IIII)V

    invoke-virtual {v6, v2, v8, v9, v7}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    new-instance v2, Landroid/graphics/Paint;

    const/16 v7, 0x101

    invoke-direct {v2, v7}, Landroid/graphics/Paint;-><init>(I)V

    const/high16 v7, 0x4190

    invoke-virtual {v2, v7}, Landroid/graphics/Paint;->setTextSize(F)V

    sget-object v7, Landroid/graphics/Typeface;->DEFAULT_BOLD:Landroid/graphics/Typeface;

    invoke-virtual {v2, v7}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;

    const/4 v7, -0x1

    invoke-virtual {v2, v7}, Landroid/graphics/Paint;->setColor(I)V

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v7

    const/4 v8, 0x4

    if-ne v7, v8, :cond_3

    :cond_0
    :goto_1
    int-to-float v1, v1

    const/high16 v7, 0x4198

    invoke-virtual {v6, v0, v1, v7, v2}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    const/16 v0, 0x1f

    invoke-virtual {v6, v0}, Landroid/graphics/Canvas;->save(I)I

    invoke-virtual {v6}, Landroid/graphics/Canvas;->restore()V

    new-instance v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-direct {v0, v1, v5}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    const/high16 v1, 0x4220

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    mul-float/2addr v1, v2

    int-to-float v2, v4

    div-float/2addr v1, v2

    int-to-float v2, v3

    mul-float/2addr v2, v1

    float-to-int v2, v2

    int-to-float v3, v4

    mul-float/2addr v1, v3

    float-to-int v1, v1

    invoke-virtual {v0, v10, v10, v2, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    return-object v0

    :cond_1
    if-le p1, p2, :cond_2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "+"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_0

    :cond_2
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "-"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_0

    :cond_3
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v7

    const/4 v8, 0x3

    if-ne v7, v8, :cond_4

    const/16 v1, 0x19

    goto :goto_1

    :cond_4
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v7

    const/4 v8, 0x2

    if-ne v7, v8, :cond_5

    const/16 v1, 0x1d

    goto :goto_1

    :cond_5
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v7

    if-ne v7, v11, :cond_0

    const/16 v1, 0x22

    goto :goto_1
.end method

.method static synthetic b(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->v:Landroid/view/View;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/baike/activity/BaikeDetailActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h()V

    return-void
.end method

.method static synthetic d(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Lcom/xingbook/baike/b/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Landroid/graphics/drawable/Drawable;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->r:Landroid/graphics/drawable/Drawable;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Landroid/graphics/drawable/Drawable;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->q:Landroid/graphics/drawable/Drawable;

    return-object v0
.end method

.method private g()V
    .locals 13

    const/high16 v8, 0x4120

    const/high16 v12, 0x40e0

    const/high16 v11, 0x420c

    const/4 v10, 0x0

    const/4 v9, 0x0

    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v1, 0x1

    if-eq v0, v1, :cond_0

    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_2

    :cond_0
    const v0, 0x7f0a0073

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    const/high16 v0, 0x41f0

    mul-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    const/high16 v0, 0x41f0

    mul-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    const/high16 v0, 0x422c

    mul-float/2addr v0, v1

    float-to-int v2, v0

    const v3, -0x333334

    const v0, 0x7f0a0079

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->d:Landroid/widget/TextView;

    const v4, -0xcccccd

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->d:Landroid/widget/TextView;

    const/high16 v4, 0x4220

    mul-float/2addr v4, v1

    invoke-virtual {v0, v9, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->d:Landroid/widget/TextView;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v7, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    div-int/lit8 v7, v7, 0x2

    invoke-virtual {v0, v4, v5, v6, v7}, Landroid/widget/TextView;->setPadding(IIII)V

    const v0, 0x7f0a007a

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->l:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->l:Landroid/widget/ImageView;

    const v4, -0x333334

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->l:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-static {p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v4

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    mul-int/lit8 v5, v5, 0x2

    sub-int/2addr v4, v5

    iput v4, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    mul-int/lit16 v4, v4, 0x190

    div-int/lit16 v4, v4, 0x2c4

    iput v4, v0, Landroid/widget/LinearLayout$LayoutParams;->height:I

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iput v4, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iput v4, v0, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    const v0, 0x7f0a007b

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->H:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->H:Landroid/widget/ImageView;

    const/high16 v4, 0x4210

    mul-float/2addr v4, v1

    float-to-int v4, v4

    const/high16 v5, 0x41d0

    mul-float/2addr v5, v1

    float-to-int v5, v5

    invoke-virtual {v0, v2, v4, v9, v5}, Landroid/widget/ImageView;->setPadding(IIII)V

    const v0, 0x7f0a007c

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    div-int/lit8 v0, v0, 0x2

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    div-int/lit8 v5, v5, 0x2

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    div-int/lit8 v6, v6, 0x2

    iget v7, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    div-int/lit8 v7, v7, 0x2

    invoke-virtual {v4, v0, v5, v6, v7}, Landroid/view/View;->setPadding(IIII)V

    invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    invoke-virtual {v0, v5, v9, v6, v9}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    invoke-virtual {v4, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a007d

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->m:Landroid/widget/ImageView;

    const/high16 v0, 0x42d2

    mul-float/2addr v0, v1

    float-to-int v0, v0

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->m:Landroid/widget/ImageView;

    invoke-virtual {v4}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    iput v0, v4, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->m:Landroid/widget/ImageView;

    invoke-virtual {v4}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    iput v0, v4, Landroid/view/ViewGroup$LayoutParams;->height:I

    const v0, 0x7f0a007e

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->e:Landroid/widget/TextView;

    const v4, -0xcccccd

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->e:Landroid/widget/TextView;

    mul-float v4, v11, v1

    invoke-virtual {v0, v9, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->e:Landroid/widget/TextView;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    div-int/lit8 v4, v4, 0x2

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    div-int/lit8 v5, v5, 0x2

    invoke-virtual {v0, v4, v9, v5, v9}, Landroid/widget/TextView;->setPadding(IIII)V

    const v0, 0x7f0a007f

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->f:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->f:Landroid/widget/TextView;

    const v4, -0x99999a

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->f:Landroid/widget/TextView;

    const/high16 v4, 0x4200

    mul-float/2addr v4, v1

    invoke-virtual {v0, v9, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->f:Landroid/widget/TextView;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    div-int/lit8 v4, v4, 0x2

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    div-int/lit8 v5, v5, 0x2

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    div-int/lit8 v6, v6, 0x2

    invoke-virtual {v0, v4, v5, v6, v9}, Landroid/widget/TextView;->setPadding(IIII)V

    const v0, 0x7f0a0080

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->n:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v7, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    invoke-virtual {v0, v4, v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    const v0, 0x7f0a0082

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->z:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->z:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    div-int/lit8 v4, v4, 0x5

    iput v4, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    const v0, 0x7f0a0084

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->I:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->I:Landroid/widget/ImageView;

    const/high16 v4, 0x4150

    mul-float/2addr v4, v1

    float-to-int v4, v4

    mul-float v5, v8, v1

    float-to-int v5, v5

    invoke-virtual {v0, v2, v4, v9, v5}, Landroid/widget/ImageView;->setPadding(IIII)V

    const v0, 0x7f0a0085

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->o:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->o:Landroid/widget/LinearLayout;

    const v4, 0x7f020011

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->o:Landroid/widget/LinearLayout;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->B:I

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->B:I

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->B:I

    iget v7, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->B:I

    invoke-virtual {v0, v4, v5, v6, v7}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->o:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    const/high16 v6, 0x41a0

    mul-float/2addr v6, v1

    float-to-int v6, v6

    invoke-virtual {v0, v4, v9, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    const v0, 0x7f0a0087

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->A:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->A:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    div-int/lit8 v4, v4, 0x5

    iput v4, v0, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    const v0, 0x7f0a0089

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->J:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->J:Landroid/widget/ImageView;

    mul-float v4, v8, v1

    float-to-int v4, v4

    const/high16 v5, 0x41d8

    mul-float/2addr v5, v1

    float-to-int v5, v5

    invoke-virtual {v0, v2, v4, v9, v5}, Landroid/widget/ImageView;->setPadding(IIII)V

    const v0, 0x7f0a008a

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    const/high16 v6, 0x41a0

    mul-float/2addr v6, v1

    float-to-int v6, v6

    invoke-virtual {v0, v4, v9, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    const v0, 0x7f0a0074

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    invoke-virtual {v0, v2, v4, v5, v6}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    mul-float v4, v11, v1

    invoke-virtual {v0, v9, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    const-string v4, "\u5206\u4eab"

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v0, 0x7f020024

    invoke-static {v4, v0}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v5, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v5, v4, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    invoke-virtual {v5, v9, v9, v6, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    mul-float v6, v12, v1

    float-to-int v6, v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v5, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    const v0, 0x7f0a0075

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    iget v7, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v8, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    invoke-virtual {v0, v5, v6, v7, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    mul-float v5, v11, v1

    invoke-virtual {v0, v9, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    const-string v5, "\u8bc4\u8bba"

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f020023

    invoke-static {v4, v0}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v5, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v5, v4, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    invoke-virtual {v5, v9, v9, v6, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    mul-float v6, v12, v1

    float-to-int v6, v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    invoke-virtual {v0, v5, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    invoke-static {}, Lcom/xingbook/baike/c/a;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h:Landroid/widget/TextView;

    const/16 v5, 0x8

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_1
    const v0, 0x7f0a0076

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v6, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    iget v7, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    invoke-virtual {v0, v5, v6, v2, v7}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    mul-float v2, v11, v1

    invoke-virtual {v0, v9, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f02001f

    invoke-static {v4, v0}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v2, v4, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->q:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->q:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    invoke-virtual {v2, v9, v9, v3, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    const v0, 0x7f020020

    invoke-static {v4, v0}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v2, v4, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->r:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->r:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    invoke-virtual {v2, v9, v9, v3, v0}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    mul-float/2addr v1, v12

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->q:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1, v10, v10, v10}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    const v0, 0x7f0a008c

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->v:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->v:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a008d

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->w:Landroid/widget/TextView;

    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_3

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->H:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020013

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->I:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020015

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->J:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020017

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :goto_1
    return-void

    :cond_2
    const v0, 0x7f0a0073

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v9}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :cond_3
    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_4

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->H:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020012

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->I:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020014

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->J:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020016

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_1

    :cond_4
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->H:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020012

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->I:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020014

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->J:Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020016

    invoke-static {v1, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_1
.end method

.method static synthetic h(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->u:Ljava/lang/String;

    return-object v0
.end method

.method private h()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method static synthetic i(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Lcom/xingbook/baike/activity/w;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->K:Lcom/xingbook/baike/activity/w;

    return-object v0
.end method

.method private i()V
    .locals 7

    const/4 v1, 0x1

    const/4 v6, -0x2

    invoke-static {p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v0

    iget v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    mul-int/lit8 v2, v2, 0x2

    sub-int v2, v0, v2

    const/high16 v0, 0x41a0

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v3

    mul-float/2addr v0, v3

    float-to-int v3, v0

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    const/4 v0, 0x0

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v4}, Lcom/xingbook/baike/b/a;->g()Lcom/xingbook/b/k;

    move-result-object v4

    if-eqz v4, :cond_0

    new-instance v0, Lcom/xingbook/ui/InsetXingBookView;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/InsetXingBookView;-><init>(Landroid/content/Context;)V

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v4}, Lcom/xingbook/baike/b/a;->g()Lcom/xingbook/b/k;

    move-result-object v4

    invoke-virtual {v0, v4, v2}, Lcom/xingbook/ui/InsetXingBookView;->a(Lcom/xingbook/b/k;I)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v2, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v4}, Lcom/xingbook/ui/InsetXingBookView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_0
    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v4}, Lcom/xingbook/baike/b/a;->h()Ljava/util/ArrayList;

    move-result-object v4

    if-eqz v4, :cond_2

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v4}, Lcom/xingbook/baike/b/a;->h()Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lez v4, :cond_2

    new-instance v4, Lcom/xingbook/ui/InsetTingTingViews;

    invoke-direct {v4, p0}, Lcom/xingbook/ui/InsetTingTingViews;-><init>(Landroid/content/Context;)V

    iget-object v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v5}, Lcom/xingbook/baike/b/a;->h()Ljava/util/ArrayList;

    move-result-object v5

    invoke-virtual {v4, v5, v2}, Lcom/xingbook/ui/InsetTingTingViews;->a(Ljava/util/ArrayList;I)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v5, v2, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    if-eqz v0, :cond_1

    iput v3, v5, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    :cond_1
    invoke-virtual {v4, v5}, Lcom/xingbook/ui/InsetTingTingViews;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    move v0, v1

    :cond_2
    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v4}, Lcom/xingbook/baike/b/a;->i()Lcom/xingbook/b/k;

    move-result-object v4

    if-eqz v4, :cond_6

    new-instance v4, Lcom/xingbook/ui/InsetVideoView;

    invoke-direct {v4, p0}, Lcom/xingbook/ui/InsetVideoView;-><init>(Landroid/content/Context;)V

    iget-object v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v5}, Lcom/xingbook/baike/b/a;->i()Lcom/xingbook/b/k;

    move-result-object v5

    invoke-virtual {v4, v5, v2}, Lcom/xingbook/ui/InsetVideoView;->a(Lcom/xingbook/b/k;I)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v5, v2, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    if-eqz v0, :cond_3

    iput v3, v5, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    :cond_3
    invoke-virtual {v4, v5}, Lcom/xingbook/ui/InsetVideoView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->j()Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->j()Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_5

    new-instance v0, Lcom/xingbook/ui/InsetTopicsView;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/InsetTopicsView;-><init>(Landroid/content/Context;)V

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v4}, Lcom/xingbook/baike/b/a;->j()Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v0, v4, v2}, Lcom/xingbook/ui/InsetTopicsView;->a(Ljava/util/ArrayList;I)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v2, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    if-eqz v1, :cond_4

    iput v3, v4, Landroid/widget/LinearLayout$LayoutParams;->topMargin:I

    :cond_4
    invoke-virtual {v0, v4}, Lcom/xingbook/ui/InsetTopicsView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_5
    return-void

    :cond_6
    move v1, v0

    goto :goto_0
.end method

.method static synthetic j(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Lcom/xingbook/ui/z;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->E:Lcom/xingbook/ui/z;

    return-object v0
.end method


# virtual methods
.method protected a()I
    .locals 1

    const/16 v0, 0xd0

    return v0
.end method

.method public a(II)Landroid/graphics/drawable/Drawable;
    .locals 5

    const/4 v4, 0x0

    packed-switch p1, :pswitch_data_0

    const v0, 0x7f02001d

    :goto_0
    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/res/Resources;->openRawResource(I)Ljava/io/InputStream;

    move-result-object v0

    invoke-static {v0}, Landroid/graphics/BitmapFactory;->decodeStream(Ljava/io/InputStream;)Landroid/graphics/Bitmap;

    move-result-object v0

    int-to-float v1, p2

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v2

    int-to-float v2, v2

    div-float/2addr v1, v2

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-direct {v2, v3, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    int-to-float v0, v0

    mul-float/2addr v0, v1

    float-to-int v0, v0

    invoke-virtual {v2, v4, v4, v0, p2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    return-object v2

    :pswitch_0
    const v0, 0x7f020018

    goto :goto_0

    :pswitch_1
    const v0, 0x7f020019

    goto :goto_0

    :pswitch_2
    const v0, 0x7f02001a

    goto :goto_0

    :pswitch_3
    const v0, 0x7f02001b

    goto :goto_0

    :pswitch_4
    const v0, 0x7f02001c

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method public b()V
    .locals 12

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v6

    invoke-static {p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v7

    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v1, 0x1

    if-eq v0, v1, :cond_0

    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_5

    :cond_0
    const v0, 0x7f0a0073

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    const v0, 0x7f0a0077

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const/4 v1, -0x1

    const/4 v0, -0x1

    new-instance v2, Landroid/text/SpannableStringBuilder;

    invoke-direct {v2}, Landroid/text/SpannableStringBuilder;-><init>()V

    iget-object v3, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v3}, Lcom/xingbook/baike/b/a;->a()Z

    move-result v3

    if-eqz v3, :cond_1

    const/4 v1, 0x0

    const-string v0, "[\u63a8\u8350]"

    invoke-virtual {v2, v0}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v0

    :cond_1
    iget-object v3, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v3}, Lcom/xingbook/baike/b/a;->u()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v3

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v5, 0x1

    if-eq v4, v5, :cond_2

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v5, 0x2

    if-eq v4, v5, :cond_2

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "[age_"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v5}, Lcom/xingbook/baike/b/a;->B()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "-"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v5}, Lcom/xingbook/baike/b/a;->C()I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "]"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    :cond_2
    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v4

    const/4 v5, -0x1

    if-eq v1, v5, :cond_3

    const/4 v5, -0x1

    if-eq v0, v5, :cond_3

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v8, 0x7f020022

    invoke-virtual {v5, v8}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    iget-object v8, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v8}, Landroid/widget/TextView;->getLineHeight()I

    move-result v8

    invoke-virtual {v5}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v9

    mul-int/2addr v9, v8

    invoke-virtual {v5}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v10

    div-int/2addr v9, v10

    const/4 v10, 0x0

    const/4 v11, 0x0

    invoke-virtual {v5, v10, v11, v9, v8}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    new-instance v8, Landroid/text/style/ImageSpan;

    const/4 v9, 0x0

    invoke-direct {v8, v5, v9}, Landroid/text/style/ImageSpan;-><init>(Landroid/graphics/drawable/Drawable;I)V

    const/16 v5, 0x21

    invoke-virtual {v2, v8, v1, v0, v5}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    :cond_3
    const/4 v0, -0x1

    if-eq v3, v0, :cond_4

    const/4 v0, -0x1

    if-eq v4, v0, :cond_4

    new-instance v0, Landroid/text/style/ImageSpan;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->B()I

    move-result v1

    iget-object v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v5}, Lcom/xingbook/baike/b/a;->C()I

    move-result v5

    invoke-direct {p0, v1, v5}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    const/4 v5, 0x1

    invoke-direct {v0, v1, v5}, Landroid/text/style/ImageSpan;-><init>(Landroid/graphics/drawable/Drawable;I)V

    const/16 v1, 0x21

    invoke-virtual {v2, v0, v3, v4, v1}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    :cond_4
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->y()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->k()Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->r:Landroid/graphics/drawable/Drawable;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->r()Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->l:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->l:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/baike/b/a;->d(Z)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->l:Landroid/widget/ImageView;

    const/4 v2, -0x1

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    :goto_2
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->o()Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v0

    const v1, 0x7f0a007c

    invoke-virtual {p0, v1}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    new-instance v1, Landroid/text/SpannableStringBuilder;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/b;->c()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V

    invoke-virtual {v1}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "[level:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/xingbook/baike/b/b;->d()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "]"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    invoke-virtual {v1}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v3

    iget-object v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getLineHeight()I

    move-result v4

    new-instance v5, Landroid/text/style/ImageSpan;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/b;->d()I

    move-result v8

    invoke-virtual {p0, v8, v4}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a(II)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    const/4 v8, 0x0

    invoke-direct {v5, v4, v8}, Landroid/text/style/ImageSpan;-><init>(Landroid/graphics/drawable/Drawable;I)V

    const/16 v4, 0x21

    invoke-virtual {v1, v5, v2, v3, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    iget-object v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->f:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/b;->e()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v0}, Lcom/xingbook/baike/b/b;->a()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->m:Landroid/widget/ImageView;

    const v2, 0x7f020054

    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    :goto_3
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->n()Z

    move-result v0

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->o()Z

    move-result v1

    if-eqz v1, :cond_9

    iget v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    iget v3, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    :goto_4
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->H:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->n:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->c()Lcom/xingbook/group/a/h;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->n:Landroid/widget/LinearLayout;

    const/high16 v2, 0x420c

    mul-float v3, v2, v6

    const/4 v4, -0x1

    iget v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    mul-int/lit8 v2, v2, 0x2

    sub-int v5, v7, v2

    move-object v2, p0

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/group/a/h;->a(Landroid/widget/LinearLayout;Landroid/content/Context;FII)V

    :goto_5
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->m()Z

    move-result v0

    if-eqz v0, :cond_b

    const v0, 0x7f0a0082

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->e()Lcom/xingbook/group/a/h;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->o:Landroid/widget/LinearLayout;

    const/high16 v2, 0x4200

    mul-float v3, v2, v6

    const/4 v4, -0x1

    iget v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v5, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->B:I

    add-int/2addr v2, v5

    mul-int/lit8 v2, v2, 0x2

    sub-int v5, v7, v2

    move-object v2, p0

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/group/a/h;->a(Landroid/widget/LinearLayout;Landroid/content/Context;FII)V

    :goto_6
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v0}, Lcom/xingbook/baike/b/a;->l()Z

    move-result v0

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->A:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-direct {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i()V

    :goto_7
    return-void

    :cond_5
    const v0, 0x7f0a0073

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->q:Landroid/graphics/drawable/Drawable;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_1

    :cond_7
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->l:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto/16 :goto_2

    :cond_8
    const v0, 0x7f0a007c

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_3

    :cond_9
    iget v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    const/4 v2, 0x0

    iget v3, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->b:I

    iget v4, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a:I

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    goto/16 :goto_4

    :cond_a
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->H:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->n:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_5

    :cond_b
    const v0, 0x7f0a0082

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_6

    :cond_c
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->A:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->p:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    goto :goto_7
.end method

.method public c()Landroid/view/View;
    .locals 4

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v0

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, p0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const/4 v2, 0x0

    const/high16 v3, 0x41c8

    mul-float/2addr v3, v0

    invoke-virtual {v1, v2, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    const v2, -0x99999a

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    const-string v2, "\u2606 \u5bb6\u5ead\u6559\u80b2\u4ece\u661f\u5b9d\u4e50\u56ed\u5f00\u59cb \u2606"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/16 v2, 0x11

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setGravity(I)V

    const/high16 v2, 0x41b0

    mul-float/2addr v0, v2

    float-to-int v0, v0

    invoke-virtual {v1, v0, v0, v0, v0}, Landroid/widget/TextView;->setPadding(IIII)V

    return-object v1
.end method

.method public d()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->c:Lcom/xingbook/group/helper/XbResOutlinkReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/group/helper/XbResOutlinkReceiver;

    new-instance v1, Lcom/xingbook/baike/activity/v;

    invoke-direct {v1, p0}, Lcom/xingbook/baike/activity/v;-><init>(Lcom/xingbook/baike/activity/BaikeDetailActivity;)V

    invoke-direct {v0, v1}, Lcom/xingbook/group/helper/XbResOutlinkReceiver;-><init>(Lcom/xingbook/group/helper/b;)V

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->c:Lcom/xingbook/group/helper/XbResOutlinkReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->c:Lcom/xingbook/group/helper/XbResOutlinkReceiver;

    invoke-virtual {v0, p0}, Lcom/xingbook/group/helper/XbResOutlinkReceiver;->a(Landroid/content/Context;)V

    return-void
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u767e\u79d1-\u8be6\u60c5"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public f()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->c:Lcom/xingbook/group/helper/XbResOutlinkReceiver;

    invoke-virtual {v0, p0}, Lcom/xingbook/group/helper/XbResOutlinkReceiver;->b(Landroid/content/Context;)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const/4 v0, 0x1

    const/4 v6, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v1

    sparse-switch v1, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    if-ne v1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->D:Lcom/xingbook/baike/d/a;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v1

    const-string v2, "\u8bfe\u7a0b\u7b80\u4ecb"

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/baike/d/a;->a(Lcom/xingbook/baike/b/b;Ljava/lang/String;)V

    goto :goto_0

    :cond_0
    iget v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->D:Lcom/xingbook/baike/d/a;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v1

    const-string v2, "\u8bfe\u7a0b\u7b80\u4ecb"

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/baike/d/a;->a(Lcom/xingbook/baike/b/b;Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->D:Lcom/xingbook/baike/d/a;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/baike/d/a;->a(Lcom/xingbook/baike/b/b;)V

    goto :goto_0

    :sswitch_1
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "http://app2.xingbook.com/group/viewSharedTopic.do"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "?id="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->u()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/baike/b/b;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->b()Lcom/xingbook/baike/b/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/baike/b/b;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\n"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->c()Lcom/xingbook/group/a/h;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/group/a/h;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    new-instance v0, Lcom/xingbook/c/q;

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->s()I

    move-result v1

    iget-object v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v2}, Lcom/xingbook/baike/b/a;->t()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v3}, Lcom/xingbook/baike/b/a;->u()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    iget-object v7, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v7, v6}, Lcom/xingbook/baike/b/a;->d(Z)Ljava/lang/String;

    move-result-object v6

    invoke-direct/range {v0 .. v6}, Lcom/xingbook/c/q;-><init>(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/xingbook/park/activity/SNSShareActivity;->a(Landroid/app/Activity;Lcom/xingbook/c/q;Lcom/xingbook/park/activity/bm;)Z

    goto/16 :goto_0

    :sswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "com.xingbook.baike.activity.BaikeCommentActivity.INTENT_TOPICID"

    iget-object v2, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v2}, Lcom/xingbook/baike/b/a;->t()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    :sswitch_3
    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->t:Lcom/xingbook/baike/b/a;

    invoke-virtual {v1}, Lcom/xingbook/baike/b/a;->k()Z

    move-result v1

    if-eqz v1, :cond_2

    move v0, v6

    :cond_2
    invoke-direct {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a(Z)V

    goto/16 :goto_0

    :sswitch_4
    invoke-direct {p0, v6}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a(I)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0a0074 -> :sswitch_1
        0x7f0a0075 -> :sswitch_2
        0x7f0a0076 -> :sswitch_3
        0x7f0a007c -> :sswitch_0
        0x7f0a008c -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6

    const/4 v4, 0x1

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v1, "com.xingbook.baike.acticity.BaikeDetailActivity.INTENT_BAIKEID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "com.xingbook.baike.acticity.BaikeDetailActivity.INTENT_BAIKEID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->u:Ljava/lang/String;

    :cond_0
    if-eqz v0, :cond_1

    const-string v1, "com.xingbook.baike.acticity.BaikeDetailActivity.INTENT_BAIKETYPE"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    const-string v1, "com.xingbook.baike.acticity.BaikeDetailActivity.INTENT_BAIKETYPE"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    :cond_1
    if-eqz v0, :cond_2

    const-string v1, "com.xingbook.baike.acticity.BaikeDetailActivity.INTENT_COURSEID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    const-string v1, "com.xingbook.baike.acticity.BaikeDetailActivity.INTENT_COURSEID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->G:Ljava/lang/String;

    :cond_2
    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->u:Ljava/lang/String;

    if-nez v0, :cond_3

    const-string v0, ""

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->finish()V

    :cond_3
    const v0, 0x7f030009

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->C:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->C:Landroid/widget/RelativeLayout;

    const v1, -0xf0f10

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->C:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->setContentView(Landroid/view/View;)V

    const v0, 0x7f0a0072

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    new-instance v3, Lcom/xingbook/baike/activity/s;

    invoke-direct {v3, p0}, Lcom/xingbook/baike/activity/s;-><init>(Lcom/xingbook/baike/activity/BaikeDetailActivity;)V

    const/4 v5, 0x0

    move-object v0, p0

    invoke-static/range {v0 .. v5}, Lcom/xingbook/park/ui/l;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/ui/n;ZZ)Lcom/xingbook/park/ui/l;

    move-result-object v0

    iget v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    if-ne v1, v4, :cond_4

    const-string v1, "\u6559  \u6848"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/l;->setTitle(Ljava/lang/String;)V

    :goto_0
    const v1, 0x7f0a0019

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/l;->setId(I)V

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f0b00e4

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v0

    iput v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->B:I

    invoke-direct {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->g()V

    const v0, 0x7f0a0078

    invoke-virtual {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->c()Landroid/view/View;

    move-result-object v1

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1, v2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->C:Landroid/widget/RelativeLayout;

    invoke-static {v0, p0}, Lcom/xingbook/ui/ae;->a(Landroid/widget/RelativeLayout;Landroid/app/Activity;)Lcom/xingbook/ui/ae;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->x:Lcom/xingbook/ui/ae;

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    const/16 v0, 0x96

    invoke-direct {p0, v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->a(I)V

    return-void

    :cond_4
    iget v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->F:I

    const/4 v2, 0x2

    if-ne v1, v2, :cond_5

    const-string v1, "\u80b2\u513f\u7ecf"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/l;->setTitle(Ljava/lang/String;)V

    goto :goto_0

    :cond_5
    const-string v1, "\u767e\u79d1\u8be6\u60c5"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/l;->setTitle(Ljava/lang/String;)V

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->y:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2

    const/4 v0, 0x1

    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->D:Lcom/xingbook/baike/d/a;

    invoke-virtual {v1, p1, p2}, Lcom/xingbook/baike/d/a;->a(ILandroid/view/KeyEvent;)Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    iget-object v1, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->E:Lcom/xingbook/ui/z;

    invoke-virtual {v1, p1, p2}, Lcom/xingbook/ui/z;->a(ILandroid/view/KeyEvent;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-super {p0, p1, p2}, Lcom/xingbook/park/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method protected onPause()V
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->f()V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->C:Landroid/widget/RelativeLayout;

    invoke-static {v0, p0}, Lcom/xingbook/baike/d/a;->a(Landroid/view/ViewGroup;Landroid/app/Activity;)Lcom/xingbook/baike/d/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->D:Lcom/xingbook/baike/d/a;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->C:Landroid/widget/RelativeLayout;

    invoke-static {v0, p0}, Lcom/xingbook/ui/ae;->a(Landroid/widget/RelativeLayout;Landroid/app/Activity;)Lcom/xingbook/ui/ae;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->x:Lcom/xingbook/ui/ae;

    iget-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->C:Landroid/widget/RelativeLayout;

    invoke-static {v0, p0}, Lcom/xingbook/ui/z;->a(Landroid/view/ViewGroup;Landroid/app/Activity;)Lcom/xingbook/ui/z;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/baike/activity/BaikeDetailActivity;->E:Lcom/xingbook/ui/z;

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->d()V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void
.end method
